package com.sky.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class EmployeeDTO implements Serializable {

    private Long id;

    private String username;

    private String name;

    private String phone;

    private String sex;

    private String idNumber;

    @Data
    @ApiModel(description = "员工登录时传递的数据模型")
    public static class EmployeeLoginDTO implements Serializable {

        @ApiModelProperty("用户名")
        private String username;

        @ApiModelProperty("密码")
        private String password;

    }
}
